#ifndef CXMAINWINDOW_H
#define CXMAINWINDOW_H

#include <QtGui/QMainWindow>
QT_BEGIN_NAMESPACE
class QAction;
QT_END_NAMESPACE
class CXMainWindow : public QMainWindow
{
    Q_OBJECT
public:
    CXMainWindow(QWidget *parent = 0);
    ~CXMainWindow();

private slots:
    void _slotNewProject();
    void _slotOpenProject();
    void _slotSaveProject();
    void _slotSaveAsProject();

private:
    void _createActions();
    void _createMenus();
    void _createToolBars();
    void _createStatusBar();

    void _readSettings();
    void _writeSettings();

private:
    QAction     *_actionNewProject;
    QAction     *_actionOpenProject;
    QAction     *_actionSaveProject;
    QAction     *_actionSaveAsProject;

    QToolBar    *_projectToolBar;

    QMenu       *_projectMenu;
};

#endif // CXMAINWINDOW_H
